projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c1ea38
)
Only send exposes on unmap if window really was unmapped
author
Alexander Larsson
<alexl@redhat.com>
Tue, 3 Nov 2009 13:41:36 +0000
(14:41 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Thu, 5 Nov 2009 11:52:12 +0000
(12:52 +0100)
Exposing when you hide a hidden window is just a waste of time.
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index edb9581b5157ae80338c4b4a00572e70194a96b6..63eb8474acfbb288d57151b871ba8b19f3310ad3 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-6829,7
+6829,8
@@
gdk_window_hide (GdkWindow *window)
}
/* Invalidate the rect */
- gdk_window_invalidate_in_parent (private);
+ if (was_mapped)
+ gdk_window_invalidate_in_parent (private);
}
/**